﻿#pragma once
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>

class RegisterDialog : public QDialog {
    Q_OBJECT
public:
    RegisterDialog(QWidget* parent = nullptr);
private:
    QLineEdit* usernameEdit;
    QLineEdit* nicknameEdit;
    QLineEdit* passwordEdit;
    QLineEdit* phoneEdit;
    QLineEdit* idCardEdit;
    QPushButton* btnRegister;
    QLabel* infoLabel;
    void onRegisterClicked();
};
